Tweak connections when populating Auto Profile table. Fixes segfault.