Fixed a problem with collection and has_image (bug 1068767)