Fixed thrown errors when there is no strip in timeline

Again, any errors that were thrown in the terminal while using this modified version of space_sequencer.py wouldn't make any harm. Even so, now these errors are now fixed. The previous change to the script fixed errors when there were strips in the timeline; this update fixes when there are no strips whatsoever, makig this version more reassuring.