initialize array for missing scenes

I have added the safety against missing scenes array.