Fixed a primary poc check issue when saving poc for new sample