Fixes #3786.
Created by: ComicIronic
Was caused by checks against null users, checks against null targets, checks against null locs, and lots of nulls.
Created by: ComicIronic
Was caused by checks against null users, checks against null targets, checks against null locs, and lots of nulls.