Correct fetch & compare logic