Correct all grammatical errors in the given sentence.
When I were in New Zealand, there were many presents under the tree and children opened them at Christmas.
When I was in New Zealand, there were many presents under the tree, and children opened them at Christmas.