Fix equal when there are nil properties