Reduced complexity of exception handling in filter.