Fix check in percona_hash_sections