CLDIDE-2074: fix findReplace parameter validation on factory acceptation