DISPLAY: Fix crash bugs in DISPLAY INDEX and DISPLAY NAMES.