does not already contain N if the insert cursor points to N-1. Fix for ticket
[61fe9745]. Also increase the version number to 3.18.2. This is the
release candidate.
FossilOrigin-Name: e1b71029087675749a5c64303a8756d16cb33ed3ac2e8d3b075051f575c072fb
Add test cases for IN processing that would have spotted the error in the
[2be661a48023f4] check-in.
FossilOrigin-Name: 5ded9b68388f4024425c11f09b03529ac89454ce