When comparing with `None`, use `is`. This should be `if pos is None`. I will make this fix.