Correcting value checked against