Fixed an error in filtering out finished games.