Resolving multiple hasMany cascades which weren't working in some cases

The issue with an example can be found on:
https://github.com/sequelize/sequelize/issues/2736

If you have any more questions about why and the logic behind it, please let me know. I will be glad to explain or fix something that I missed.