Fix handling of null profile image fields