ismyrnow/Leaflet.groupedlayercontrol — pull request #4 by blomm (2014-01-31 17:32:58+00:00)
Title: removeLayer was clearing all the overlay layers..

and not repopulating them in the layer control. This was happening because groupContainer on line 225 was not null, so the "Create the group container if it doesn't exist" section will never be executed, and the innerHTML never populated