Fix sequelize querying in routes/random.js