Add check that database is consistent with web service