Update app/views/timelog/_date_range.html.erb

Fix bug when @query isnt present