Updated the LayerRoute with invalidation event after clearing data. Fixes#150.