Attempting to fix saving issue with search definition.