Fix mejs error for archive pages as well.