I have check out the includes/html_ouput.php and compared the two files. All four of the modifications are in the correct place.

The product index template has not been modified either.