Collator::getSortKey() was returning an unterminated string due the length given to RETURN_STRINGL being off by one.