Fixed getDBName bug in tasks for dumping funf / survey data