Minor change: corrected the logic, it should test == null to reflect the
previous behavior