Added check when kicking double paths so that non-preferred paths are kicked preferentially.