Changes in tuple and few changes for nested loop joins