Clear context filter attributes prior to updating

Fix #547

Signed-off-by: Byron Ruth <b@devel.io>