Well no not exactly glaber, it's rather that changing the map actually sort of starts a new "game session", which means not only the lives count is reset, but also your emeralds collection, your score, etc. This happens with any kind of save, not just ones with infinite lives.
For that reason I'm marking this as invalid, as it is not a bug but normal expected behaviour of the "map" command.