We want the first PrevSuccessfullBuild, not the last one !

This is part of TRAC-3071