Patch Min Config

Fixed an out of bounds exception with test case 2.