Hotfix php error on posts without tags

dev branch differs, so this is a hotfix.