Fix awakeness criterion