The following part of text is taken from here
Now, the body of the actress was to be flown in to India for her last rites. Members from across the film fraternity had rushed to Anil Kapoor's home where the body was to be kept for final respects
was to be flown
Or
were to be flown
I'm confused. Is was to be flown grammatically correct here ?