Updating the get non-zero layout id method to take in a Collection for readability, per feedback