Added handling for empty result sets from findAndReplace