Check for presence of markers before trying to output them
Fixes bug with errors during marker generation if markers enabled but route is shorter than marker interval