bugs in redisdb.py tag function fixed