Fixed bug in which didEnterRegion: wasn't properly working, due to incorrect type-checking