Normalize spaces inside value before check