diff --git a/lib/assets/models/index.js b/lib/assets/models/index.js
index <HASH>..<HASH> 100644
--- a/lib/assets/models/index.js
+++ b/lib/assets/models/index.js
@@ -17,7 +17,7 @@ if (config.use_env_variable) {
 fs
   .readdirSync(__dirname)
   .filter(function(file) {
-    return (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) !== '.js');
+    return (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) === '.js');
   })
   .forEach(function(file) {
     var model = sequelize['import'](path.join(__dirname, file));
[Fixed] Filtering of js files in models/index.js