Fix NPE caused by schemas with anonymous fields

Pig operators (like COUNT) generate projection with anonymous fields
that can't be used for querying ES