Change filter functions to match RenderMan specification