Prevent checking `in` on `None`