Fix map insert return value mixup (Fixes #2192)