in case that other is nil does not return false by #7688