bugfix: DB row number 0 now possible; print all matching DB rows

Signed-off-by: Stefan Helmert <stefan.helmert@t-online.de>