Fixes #185 reindex considers mapping types