Fixed Mongo indexing

Was using string -1 or 1, need to use an integer to work with newer
mongo versions