Fix NPE when collection to adjust is null