Filter changes to only the given namespaces.