Answer :

AL2006
It is ungrammatical. The verb should agree in number with the subject. "Were able" should be "was able".