fix behaviour of the removeElement method not to throw warnings when cal...

...led from DQMEDAnalyzers