Good to hear.
You can simplify your conditions and you will get the following. (which is exactly what I suggested before)
(isPaid == null || t.IsPaid == isPaid)
If you have any questions let me know.
Regards, Peter
//If a post answers your question, please click "Mark As Answer".
//Also if a post seems to be helpful, please click "Mark as Helpful" on that post.