Fixed a bug in the selection of the timeframe in mood relation history.