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