fixed issue where null value for parameter of collection type returns null instead of empty collection
fixed null collection issue