NullPointerException in Work.getPartsOf()

When a vertex had a null subtype, you can't check if it's inside a List.  Ordinary Lists throw exceptions if you call `.contains(Object o)` with a null `o`.  ArrayLists, however, won't throw an exception.