Fix #2945: Reference correct options variable