Fixes #13 SQL Syntax Errors referencing a $1

Found resolution here:

  https://github.com/rails/rails/issues/15331