Made the QueryResult compatible with new Interfaces