fix loglevel_above check