fixing this bug (hopefully) - https://github.com/jamescarr/mongoosastic/issues/65