Workaround for sqllite numvar limitation