Check that replacement value exists