http://tracker.modx.com/issues/9621