Use more efficient check for inactive header