adding $exists & $type on ElsQuery