Update dates available when layer's visibility changes

All in the title