Fixes bug in intervention demo