Hi, I have attached a branch with a fix to bug #274607. The branch also adds some tests for a few other functions in the same module. Should I add the branch for review? /Jörgen