Added check to remove versoning on tables during clean.