Fixed urlizer call to pass $object (#939), trim generated slug to remove unnecessary trailing space