fix bug on search in apikeys