Limit flattenLets to non-recursive lets only.