bug fix on photos that had not been approved yet