sequelize/sequelize — pull request #1927 by LJ1102 (2014-06-19 01:31:42+00:00)
Title: Inject fix 2afcedd into master, add unit test

Turns out the same issue is still present in master, this PR moves the fix slightly adjusted into master and adds a unit test for it.