compare: error erased what happens if

no policy is saved or at least one policy is not in db