Corrected a bug in the detection of the synchronisation of drbd.