JW - fixed a typo in the cursor adapter helper