Updated the 'runs' query