fix for #32

Maybe the same function should be used in the MetaModelsTags.php
Merge pull request #34 from MrTool/patch-1

fix for #32