Fix query list.