optimized errorsOfType filter