Fix TaskDAO and UserDAO inserts.