Attempts to solve an issue when JOINing unreferenced but related tables.