Filter list by date and time MVC/C#
<p>I'm trying to filter a list according to give start and end date, sometimes it does give me proper rows according to the info I've entered, sometimes not. Below is my query does anybody see any problem in logic?</p>

<pre><code>public List&lt;MyTicket&gt; FilteredTickets =&gt; Tickets.Where(x =&gt;
        (string.IsNullOrEmpty(TicketType) || x.RequestTypeId == TicketType) &amp;&amp;
        (StartDate == null || x.DateLogged &gt;= StartDate) &amp;&amp; (EndDate == null || x.DateLogged &lt;= EndDate)).ToList();
</code></pre>