Fix another issue with state params comparison.