Makes sure photo objects go in the right lists