Fix dependency of analyseddatabase