Add validate_states cmd state db checker