Single Record HTML rendering error when algorithm not present