Improve heuristics for status section detection

Closes #440.