Fixed setting key discovery to start working.