Implement the full fallback mechanism for filtering collections (bug 910311)