I think I realized the problem. You were on Kamil's route for Day 1 and then switched to Brendan's route on Day 2. The game skipped over the scene that adds the variable and so it doesn't recognize it when it's on Brendan's route for Day 2. You can ignore that by viewing Brendan's Day 1 scene.