Treat values that cause an error as filtered

If a function throws an exception when a value is applied, inform
the next composable in the chain that the value has been filtered
so that it reduces the number of values which it expects to receive.
Merge branch 'filter-on-error'