add check before the iteration to prevent warning alerts when there is no query param
add check before the iteration to prevent warning alerts when there is no query param

andsalves/doctrine-elastic,andsalves/doctrine-elastic