Fix errors related to results markup