Added test and fixes the problem.
Merge pull request #65 from kaspernj/kj/timelogs_index_not_invoiced_fix

Uninvoiced timelogs not found under index