fix execute of statement if variables != replacers in sql-prepare query

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>