Added a few simple nil checks.
I noticed that DotRefresh suffered the same issue. This closes #33 as far as I was able to test.
Merge pull request #34 from emiln/bug/33-debuff-refresh-nil-value-comparison

Bug: DebuffRefresh and DotRefresh threw nil comparison errors