Prefix removal corrected, resolves #193
Merge pull request #194 from Fidilip/193_Prefixes-wrongly-removed

Prefix removal corrected, resolves #193