Fixed adding tasks in makeDB.