Your schematic does not look right.
Pin 2 detects a low signal. Pin 6 detects high (causing pin 7 to discharge it)