nil-collection should be treated as empty array in template