fixed summary, failed builds with some passed stages not counted in passed too