Bugfix. Changed trimming of concept path strings only in case there is something to trim (otherwise it would generate NAs)