fix invalid sql in very old update-procedure (happens when you update from 0.9.7-svn1 to 0.9.7-svn2)

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