Prevent doing __toArray() on null.
Merge pull request #10 from robink/fix-abstractvo-toarray

Prevent doing __toArray() on null.