FIX Allow filtering on joined columns

Added test case to demonstrate issue.