The check should be for $propertiesLate === null, not === false ;)