Add assert to catch NULL source context
Minor typo