Fixed a bug in heels/nobs checking.