Fixing heroku pin_idInteger error