Fix navigation ACL issue when db is not initialized