I came across this sentence in a book:
Until the machinery has been installed, the plant wasn't able to begin production.
Is this grammatically correct?
I think the first clause should use either the simple past or the past perfect, because it talks about something in the past:
Until the machinery had been installed / was installed, the plant wasn't able to begin production.