PDFs from Apple Mail missing "Where from" attribute on Big Sur

I recently upgraded to Big Sur and Hazel 5 and noticed that my PDF processing rules are not going through. I have a few rules that look at the “Where from” attribute (“Source URL/Address” condition on Hazel) of a PDF and then act on it. It looks like this information is not present in the metadata of PDF attachments on Apple Mail on Big Sur. Has anyone else here faced this issue/have a workaround? FYI, I am on the latest version of Big Sur (11.2.1) at the time of posting this.