Filter latest build properly by finished state.