Tag, MTag, EWSources API name/ID cleaning issue #354

Same here, please check whether the cast is really needed.