minor code fix for completion window
Merge pull request #3084 from aparajit-pratap/master

Minor code fix for completion window