Merge pull request #9 from rnadler/master

Rest interface bug fix