Prevent auto assigning hidden photos.