Fix #483

The hide/unhide todo methods were already smart enough for this, but the
context object itself failed ot check this. All fixed!