Data error query editor: work in progress