I'm new to the knots library for TikZ and I have problems drawing some simple knots. With the MWE below, the library claims there are 12 crossings although in reality there are only four. Furthermore, some of the crossings receive more than one number and I can't figure out how to reliably control the flipping. \flipcrossings{2} doesn't seem to have any effect on the crossing numbered 2 while \flipcrossings{9} does. I guess this is because 9 is the highest number this particular crossing got, but that's not easy to see as there are several numbers atop each other.
I tried other options for the knot environment and I also tried other ways to draw the strand (for example with to or with Bézier curves instead of Hobby curves) but that doesn't seem to solve the problem.
What am I doing wrong?
\documentclass[tikz, border=5mm]{standalone}
\usetikzlibrary{knots,hobby}
\begin{document}
\begin{tikzpicture}
\begin{knot}[draft mode=crossings,consider self intersections=no splits,ignore endpoint intersections=false]
\strand[closed hobby] plot coordinates {(2.5,5) (2.5,2) (2.5,0.5) (0.5,2.5) (2.5,4) (4.5,2.5) (2.5,0.5) (2.5,2)};
\end{knot}
\end{tikzpicture}
\end{document}
FWIW, this is what I see (MiKTeX on Windows, updated today):


ignore endpoint intersections=true. When considering a self-intersecting curve then the algorithm has to split the curve into pieces and it tries to ignore the fact that one segments "intersects" the next at their mutual endpoints. The keyignore endpoint intersectionscontrols this. – Andrew Stacey Nov 09 '22 at 22:44