Fix queribility in cases where multiple users store catalog image in same DB