Fixed ConstPool traversing bug.