Fix error filter to handle validation errors properly. Add tests
Merge README