Bug 998103 - Use endtime instead of starttime as reference point in the ...

...build_steps query. r=catlee