[BUGFIX] Correctly handle nil prompts