Fixing up Nix path filter function.