corrected incorrect query

Signed-off-by: Patrick Konstandin <support@flatfiler.de>