Singlestat and current value based on current time instead of last value in series

Is there a way to ignore all series that have not been updated in last minute when performing a singlestat/current query like sum(some_series_xyz)? Same with max and min. This way when a file batch is not updating or someone removes a usb device that is being monitored it will not include old data when computing things like max “current” temperature for all USB devices being monitored.