MDL-31989: Changing equality to incorporate lesson_pages