Working version of filtered PDF at multiple levels. Fixed bug at zLevel=1