Fix permalink adding entity twice
Merge pull request #70 from andig/master

Fix permalink adding entity twice