Fix style and check computation

  - Fix condition of priority matrix renovation