I suspect your issue is that when a field is updated in the Edit screen, the "Before/After Create" and "Before/After Update" triggers are run. However, when updating a field in a card, table or list view, those triggers are not (the Before or After Field Update triggers are run, though).
But why are you doing the "Cast"? Why not just:
SELECT id, Patient, Done from "Test 2" WHERE removed = 0 and Done = false