Added join index to join tables