Add if statement to photos index page in ActiveAdmin