Fix off by factor of two introduced in previous commit. Thanks Fuma