Fixes mongoose db connection for tips
- fixes problem where model.findOne() calls would silently fail