Fix crashing of map with invalid/corrupted data