-bug fix for unapproved photos in rake task