Added catch for IndexError in getHoleBodyAtCursor