Fix 520
Merge pull request #531 from SemanticMediaWiki/fix-520

Fix #520