Add support for more than five table joins