Fixed a bug in Galleries#get_gallery_by_slug