Fix error when key exists, but is not activated