special handling for summarised variables in hybrid functions in summarise