http://bugs.modx.com/issues/3137