Workflow - Remove Entitlements from selected source

Sorry, I thought you just had issue with Search query. On checking your Workflow, i believe for your usecase in Get Access step you should select Access Selection Method as “By Identity”.

image

This will then return the access the Identity has and you can use those in Manage Access step to Remove access.