Fix crash when editing or deleting an activity from overview
Created by: sh-zam
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.sqlite3.OperationalError:
Traceback (most recent call last):
File "/home/sh_zam/workspace/hamster/src/hamster/storage/db.py", line 844, in __remove_index
self.execute("DELETE FROM fact_index where id in (%s)" % ids)
File "/home/sh_zam/workspace/hamster/src/hamster/storage/db.py", line 939, in execute
cur.execute(state, param)
sqlite3.OperationalError: near "(": syntax error``