Fix metrics page after markup template changes