Corrected an error that would allow script to run

Corrected an error that would not run script if the Roads, Trails,
Streams or Powerlines data layers were empty.