Fix config values coming out as strings when ints expected