add check for container specific queries array

next line '<<' operator fails if container does not have any custom query