Changed procedure for generating transaction category path