This happens in the post-processing step of the graph traversal, and should not be possible. A repository that reproduces this is available (but won't be posted here for privacy reasons). This should be fixed with priority.