Remove trailing slash from CDB category vars