Index out of bounds on removing HierarchialNode

Getting index out of bounds in Pathfinding.HierarchicalGraph.JobRecalculateComponents.RemoveHierarchicalNode(Pathfinding.HierarchicalGraph hGraph, int hierarchicalNode, bool removeAdjacentSmallNodes)

I can see there is no index checking in this method. We are getting index out of bounds in our live game which couldn’t reproduce yet but our users are getting this causing a showstopper. If I add index checking, it is getting laggy as the method is called in AstarPath.Update(). Any light into this issue? There were no issues previously before our upgrade to v5.1.4