double comments check fix

fixed bug for double comments post check (was sometimes giving false positive)