Fix wrong isSelected() behavior.

When fetching a document with some fields selected, isSelected() always
returns true with any fields starting with that selected-on-fetching fields'
name but which is not really selected on fetching.