Use `if (users.length === 0) return res.send(400);` instead.