Guard against layers that have not time range

When calculated the animation time range skip over layers that
don't have a time range associated with them.