Update validateRequired to validate empty Collection

Update validateRequired to validate empty Collection.