added peds.commons.flatten for Seq[Try