Fix indentation
Only look at previous completed builds when generating the trend graph

We shouldn't care about Running builds.
Fixed: JENKINS-18206 - Total duration of a test class should include the times for the configuration methods