Fix image_tags.save
Fix gallery_by_tag query