Fixed unhandled config case leading to crash