icarus: Bugfix: don't use invalid nonces for calculating hash_count