Add the ability to disable the omit-join-table optimization for testing
purposes.