Fix data-hook for variant on_demand attribute