core: Remove redundant method in QueryData class

Change-Id: Ibc4a6f2717eef97c7b11f03f4dc83b3fec57bba6
Signed-off-by: Tal Nisan <tnisan@redhat.com>