fix NullPointerExceptions

NullPointerExceptions are thrown when creating array filters on non-existent properties.