Fixed a problem with zero time resource value.