Fixed a error dealing with raid member flags being changed on invalid units.