Fixed reversed comparisons to null