enable tb to return just max or min time

why do we need to check bound here? wouldn't min be null if we only ask for maxtime?