Tolerate negative offset when matching sample profile.