Fixed validation for blank entries