minor change in resource controller.

'<' replaced by '<='