Alternator mask with keepStatic option cannot switch to an alternative at the end #612