Fix QubitSearch enable method, fixes #5882