[bugfix] Wrong type set for map after calling map:remove, resulting in failing key lookups.
Merge pull request #92 from wolfgangmm/develop

[bugfix] Wrong type set for map after calling map:remove