Fixed imageQuery and displaying items from only the queried category