Fixed addfact deleting whole database.