Fix auto assignment of entries after photos.