Fix rmds check.