SITE-386: Fixed an error when there are no sequelize params
SITE-386: Model references now working