fixed #91. Checking NOT_DISPLAYED or DISPLAYED for certain prompts no longer causes crashes