MDL-48304 moodle_url: compare now considers anchor