changed order of else in mdadm to fix resync information.