Fix for reduce_double_slashes implementation (use the CI string helper!)