Fix tricks taken to not silently revert to toggle switches on number parse or range error.