Fixed an error in the simple_map implementation for the function simple_map_key_exists that should be causing an infinite loop