Fix a bug with unset source pointers.