Bug fix for field on Sequelize function