LayerGroup removeLayer bug fixed

removeLayer function removed layer from map even if did not belonged to the group. I changed the if condition to check the layer group for the layer.