Fix for routes task

This commit fixes formatting issue for `rake routes` task, when a section is shorter than a header.