Added support for simple joins in entity queries. Extended handling of non-existent tables when resolving relationships in BMO.