Licensed Software list not updating

New Contributor III

I'm currently trying to remove software that we are no longer using. I have set up a licensed software definition and that was initially working. I then wrote a script that removed the software (by deleting the app in the Applications folder) and deployed this to a test machine. Now when I go back to view the list of machines that have the software, the test machine still shows as having the software. I have verified that the .app really was deleted, and have tried manually running a jamf recon, jamf manage, and jamf policy but it still remains on the list. Am I missing something?