Before and after variables got renamed and their references never got updated.