Enable Product Action For Complex Query with 'id' key

Fix the query url for a resource action whenever there is a complex query with an 'id' key.