Fix single doc validation