Dispute over Harrogate council by-election raised in House of Lords