diff --git a/buildbot/status/web/console.py b/buildbot/status/web/console.py
index <HASH>..<HASH> 100755
--- a/buildbot/status/web/console.py
+++ b/buildbot/status/web/console.py
@@ -305,7 +305,7 @@ class ConsoleStatusResource(HtmlResource):
 
                 # Now break if we have enough builds.
                 current_revision = self.getChangeForBuild(
-                    builder.getBuild(-1), revision)
+                    build, revision)
                 if self.comparator.isRevisionEarlier(
                     devBuild, current_revision):
                     break
Fix console to not misrepresent older builds

Change suggested by Aviv Ben-Yosef in ML thread "console does not match
waterfall for older builds (<I> + CSS fix; SVN)"