Fixed a TODO in resource_spec by wrapping filter addition specs inside a context