License API bugs

Hello,

API => https://api.inductiveautomation.com/

I'm not sure if this is the right place to report this type of bug.

When generating a license using the /licenses/generate route, the grants are set to 0 by default, even though the license is activatable.

Additionally, I believe this leads to another issue.
When deleting a license using the /licenses/delete route, the request is rejected with the following error code:

{
  "message": "License Key already activated or in use. Cannot Delete.",
  "success": false,
  "status": "Failure"
}

The license is detected as already activated even though it has just been generated.