Fixed minor bug in the image querying. (v2.1.1)