BUG Fixing a couple of bugs in RestfulService

A couple bugs from the re-factor being fixed.