swapreset sqlite bug

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>