avoid comparing ZeroC Handle to NULL
Merge commit '9a478167c342ac11b82c008e294fe01622b01a2c' into feature-newice