It happens that I have 3 account types: Agent, Developer & Public.

Grant a Plan only able to detect accounts from Agent, and only show plans belongs to Agent.

Steps to reproduce:
1) Go to Grant a Plan
2) In Username key in the username (Public)
3) It shows the username
4) Username clicked, go to Package, the packages in the list is not what it should be (all are for Agent)