Added some error checking around the worldcluster db access