Fix 023bd1c4ddd4ed7e0a65058c225eb03eddb2a24b

( http://tracker.modx.com/issues/9802 )