added fix to find imageless pets in production too