This is necessary because of an old bug which, in some circumstances, would prevent purchase height from being stored.