CRM/Timetrack/Report/Form/TimetrackDetails.php: fix for SQL query without nodes.