Fix convertPreferences to accept non-module clientIDs