Changed exectueQuery to return empty list instead of null