fixed that stupid nonsense if for replaceObject config setting in objectFilter..