Added context menu to queries