I found an excellent script from Karthikeyan Marappan on his GitHub site for clearing out failed MDM commands. Sometimes failed commands will prevent JAMF from allowing further policies to be pushed/deployed. I took his script and put a nice GUI frontend on it
Initial welcome screen

Results if no failed commands found
Option for clearing out failed commands
My repo link: https://github.com/ScottEKendall/JAMF-Pro-Scripts/tree/main/ClearFailedMDM