Pamac showing AUR updates but won't update

If you go to the package PKGBUILD tab in Pamac, and click the reset button, you can then click Apply and then it works, if you don’t reset the PKGBUILD and click Apply it doesn’t update, but then tells you there is an update, and you can loop like this forever.