Fixed value comparison bugs in properties