Bug fix in Controller_Rest.
Merge pull request #419 from shadlaws/fixes_20130618_2

Bug fix in Controller_Rest.