Fixes #3053 - error for mismatched own/for-in without an index.