Fixed bug with Photo friendly_id