Minor fix to better handle changes to profiles
Authored by: philsp 2014-07-22
Parent: [r3399]
Child: [r3401]