FIX #188: Better diagnostics if nested step is undefined