It is correct as by the time water has cooled to 40C., the molecules' energy has dropped enough that they are very near each another. So each H2O molecule forms more stable hydrogen bonds, with up to four fellow molecules. At 00C, the molecules in ice are held rigidly apart. That means more empty space between molecules, so frozen water occupies more room and is less dense.