Fixed issue with nullable parameter getting passed to ArrayList constructor.
Pedantic tidying up.
Merge pull request #6 from icaughley/master

Fixed issue: Nullable parameter passed to method that hates nulls.