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