Ensures settings are still valid if cipher is changed