Added loading minimize option from query