Added ability to join same table multiple times