Fix equality checks with null
Fix comparison of integers with empty string/whitespace+number