Fixed <dirlog-trim> not to rebuild if nothing was filtered (rev. 3)

Signed-off-by: nixnodes <code@eth.si>