Rule out some dirty string from database

Signed-off-by: Jui-You Tang <david.tang@tangentsoftworks.com>