Fix #299 filter errors

Also log a bit more about where a failing filter came from