Fixing bug #3698

http://tracker.modx.com/issues/3698
Merge pull request #10 from Jako/patch-7

Fixing bug #3698