Fixes a the type bug in api.collections.recent_changes.