Correctly handle `nil` values inside type tag functions
Do not translate `foo == nil` to `foo IS NULL`