Simplify code by removing repeated code - also found and removed a bug with an else clause having the wrong indention.
Simplify code by removing repeated code - also found and removed a bug with an else clause having the wrong indention.

UKParlDataSheets/UKParlDataSheets-Scripts