Getting tasks directly from mongo in all cases