Round to floor when computing get_done and get_validated

Fixes #222.