Does not work well with recent org-mode.

The first argument of recent `org-element-headline-parser` must be an integer.
The argument means a buffer position bounding the search. Then I specified the limit. 
I use max point of current buffer for the limit.