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