LogDAO: fix room filtering when searching logs.