SQL syntax fix
Merge branch 'master' of github.com:sparks/rter