Fix handling of special input[hidden] + checkbox case