Fixed an error in fielsummary query

Signed-off-by: Antanas Norkus <antanas.norkus@cern.ch>