fix potential nil level
Merge branch 'development' of github.com:Coursemology/coursemology.org into development