There's also a duplicate filter helper method in JoinUtil...