Bug fix in Controller_Rest.