Fixed potential explosion with map testing.