Fix POS switch block nNextBestHeight.