Fix query to reference correct job chronology column