Fixing table prefix issue with BTM filters (Closes #261)