Which sentence has an inappropriate shift in verb tense?
Jake went to the food fair after he attends the lecture.
Samantha is baking a cake, which we will all enjoy for tonight's dessert.
Alison will be president if Mark resigns from office.
Max visited his grandmother when he finished his homework.