Clear context filter attributes prior to updating

Fix #547

Signed-off-by: Byron Ruth <b@devel.io>
Merge pull request #548 from cbmi/issue-547

Clear context filter attributes prior to updating