Fixed a crash going from map screen to collection view.