After reading the following discussion: https://stackoverflow.com/questions/21376762/what-to-do-when-controlsend-or-send-doesnt-work, I tried giving the AHK scripts admin rights. That solved the problem. I haven't have inconsistent issue involving ControlSend ever since.