Added error_type filter