Python Finding Lowest Value In Nested Bean