ensuring mongo indexes