Fix precedence
Merge pull request #271 from korczis/rest-merge

Fix precedence