Small fix inside of is_in_check() method.