bug fix #4338:Executing queries in SQL tab broken Bug

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>