Fixed issue when use comparison operators with Objects