Flex reports: improve nesting