webservices: Fix is_nil_element in binary mode.