fixed broken property check for properties with a null value; closes #1589