Fix error when processing switch widgets with no mapping (#95)