GRID: Make agentcontroller return results in predictable way