MINOR: equality check consistency

Updated all equality logic checks to use double == for consistency across the page.