Removing autoIndex flag from schemas