I'm having some problems when I try to do a IDVault.globalQuery with prefix search, the query allways return all the values It doesn't care the value of the prefix.

This is how I have the code
var prefixSearch=form.getValue("prefixGroup")
if ((prefixBusqueda) && (prefixBusqueda != null)&& (prefixBusqueda!="")&& (prefixBusqueda!=" ")){
		IDVault.globalQuery("groups1", "GroupSearch", {"CN":prefixSearch})
		form.alert(" GroupSearch Error "+e);
And that's how I've got the defined the query.
Click image for larger version. 

Name:	QuerySearch.jpg 
Views:	13 
Size:	101.1 KB 
ID:	6015

Where could be the problem??