Avoid overflow

Change-Id: I4afe86dc29788a7b2d2d9c438f182726f80b1cbd
Check that UNOIDL enum has members

Change-Id: I5b362ad374dad5fd4a79b8a7706defb749e25eb3