Fixing Bug #10308
Merge pull request #158 from Jako/master

Issue in MODxRE theme