Fixes wrong table name being referenced with the schema option.

 Closes https://github.com/sequelize/sequelize/issues/843