The question refers to an event that happened in the past, thus the past tense of the verb” be” is used, which is” were”.