handle the case when no preferences are defined for an activity type
Authored by: thibautd 2014-05-23
Parent: [r29070]
Child: [r29072]