adplanner bug fixes

Changes to resolve heuristic update and inconsistent list insertion issues.