shortening index names for join tables