Filter AJAX results for errors