minor fixes to _.collate