Testing revealed a few typos.
Just a little tweak to correct a reversed test and make documentation
clearer.