Fix @6fcd467
http://tracker.modx.com/issues/9863