fixing ~rq error on empty quote db