SERVER-14625 fix index bounds issue for negation inside elemMatch