fix a bug calculating in-progress Gaia status