Modify offset expr for compare_object