Fixed an issue with searching for tables after a join returns no results.