Simplify (and test) the inverted value handler.