                     if (query[i] is '"' or query[i] is '\'')
                         is_string = true
                         char_used = query[i]
+                    else if query[i] is ',' and num_not_open_parenthesis<=0
+                        if first_dot_position is 0
+                            first_dot_position = i+1
+                        break
                     else if query[i] is '('
                         num_not_open_parenthesis--
                     else if query[i] is ')'

                    next_non_white_character = query_after_cursor[index_next_character]
                    break
                index_next_character++
            if next_non_white_character? and next_non_white_character isnt '.' and next_non_white_character isnt ')' and next_non_white_character isnt ';'
                @hide_suggestion()
                last_function_for_description = @extract_last_function_for_description(query_before_cursor)
                if last_function_for_description isnt ''

            last_function = @extract_last_function(query)
            just_description = false # Boolean to know if we want to display just the description and not the suggestions
            # Hack in case a new parenthesis is opened. Ex: r.table('foo').filter( // We want to describe filter, not suggest r(
            if /^\s*$/.test(query) is true or last_function is '' # We have an empty cursor
                last_function_full = @extract_last_function_for_description(query_before_cursor)
                if last_function_full isnt ''
                    last_function = last_function_full
