Quick fix for activities with nil level_source_id.
Merge pull request #291 from nanan9177/blockly_fix

Quick fix for activities with nil level_source_id.