Syntax fixes and null checks.
Switch zoom bounds to all trails at a trailhead instead of single trail.