Fix collection issue when excluding items.
Update slice initalization syntax.