Hotfix for exception on removing photo from collection