Added `filter` support to `custom_score` query.
Closes #3167