core: Fix DAO test error

Fixes DAO test error introcuded in
Ibb63316e8505affd5d78edd90881b2c7cd83e05f.

Change-Id: I4c80ce4e7366713e960bcbfed20d06b8a66bf8ff
Signed-off-by: Martin Perina <mperina@redhat.com>