Fix capped collection support