Search applications by agent id now work