Fix regression in cursor context deduction. Fixes #248.