handle case of no history records more reliably