Fixed a bug picked up by the Intel compilers. Not sure why the GNU compilers
missed it.