Hi,
This is a Limitation in Vcenter 5.1 environment. It supports only 500 groups, It queries in first 500 groups only.
Disclaimer: I can not proove at the moment, But i faced the same issue and we used the workaround by providing access to the user directly on Vcenter.
Please go through below articles, may be useful
Regards
Narayanarao