Fix has property value check