Probably should remove this dead code and invert the logic.