A small bug in the validator has been fixed

A small bug in the validator has been fixed. This should reduce the number of correct results that were being marked as invalid. Thanks to Steffen Grunewald for spotting and fixing this.