My guess is that @Dr_Jebril is correct; most likely not filtering out your magic dirt well enough.
This IS one of the reasons OR warned folks about isomerization via CRC
See: New OLCC rules for artificially derived cannabinoids and CRC
Where are you located? AHJ gonna get pissy about D8? (Tell them it was CO2 crude ).
It IS formally possible that you’re managed to pull some of whatever acid was used to process your particular flavor of magic dirt from said dirt.
The wizards advice (repeated around here dozens of time I imagine) is to wash till your water don’t change. Rather that try diddling the pH with up or down.
Eg: Correcting dist ph after running through magsil - #16 by Photon_noir