Fix self referencing comparison.

Signed-off-by: freezerbunny <freezerbunny92@gmail.com>