BUG check both left and right indexers for None (fix 2843)

Fixes #2843 and adds the two test cases suggested there.