Fixed weird issue when quering sections.

Using regex seems to fix the issue.