                 @hide_suggestion()
             return @
 
-        # Callback used by the cursor
+        # Callback used by the cursor when the user hit 'more results'
         callback_query: (data) =>
             # If we get a run time error
-            if data instanceof rethinkdb.errors.RuntimeError
+            if data instanceof rethinkdb.errors.RuntimeError or data instanceof rethinkdb.errors.BadQuery or data instanceof rethinkdb.errors.ClientError or data instanceof rethinkdb.errors.ClientError
                 @.$('.loading_query_img').css 'display', 'none'
                 @.results_view.render_error(@query, data)
                 return false

                @start_time = new Date()
                @current_results = []
                @skip_value = 0
                if @queries.length > 1
                    @current_query_index = 0
                    @cursor = eval(@queries[@current_query_index])
                    @cursor.next(@callback_multiple_query)
                else
                    @cursor = eval(@query)
                    @cursor.next(@callback_query)
            catch err
                @.$('.loading_query_img').css 'display', 'none'
                @results_view.render_error(@query, err)

        # Separate the queries so we can have an asychronous order
        separate_queries: (query) =>
            start = 0
            count_dot = 0

                    @current_results.push data
                return false

        # Function triggered when the user click on 'more results'
        show_more_results: (event) =>
            try
