Update for handling first/last mosaics.