Github
I had a look at it, the problematic lines are here. I don't understand why this is done and whether it is ok to remove this.
The upper bound method here has the same problem.
I removed both lines, let's see whether the tests pass.