Re-sequenced mysql grant states to stop conflicting state ids.