Fixes validation order in photo model