Added blocking detection to evaluation function.