Workaround to allow field selectors to work on ad-hoc tables which do not have a tables.php entry