Fixed bug in dao/app.js -> getAll()