Log filtering bugfix.