Fixed mass assignment bug in event sources