Undefined steps not displayed in outline scenarios

Includes test & fix.
I'm not a 100% sure the fix is the best way to do it, so please review.