I'd really like to see this committed as well. It seems rock solid to me. Having tested it with simple WPSs that test every possible combination that I could think of, I can't seem to make it behave wrong. Not knowing the code behind it, I'm not going to consider committing it myself of course, but it'd be nice to have included.