Need to be able to handle both foreign keys and local fields when filtering. So, using the right key is what we need to do.