Change in ovirt-engine[master]: restapi: fix incorrect compare of different object types