Fixed query for console in progress.