Of course, such a variante works: true NB: userId and userName exchanged and thus it turned to be not true because actually userName is indexed (yes, strangely enough (maybe I'm wrong and not) ...