Properly calculate finished_at for build_group