Fix priorities to avoid inconsistent knowledge base