Fixed the arg mapping issue in controller for range query