refactor review uniqueness checking