That's because we store the duration as strings ('%.3f' % query.duration) instead of float (query.duration.round(3))! 🤦🏼
'%.3f' % query.duration
query.duration.round(3)