handle boolean returns from the cursor function