(GRAILS-9752) Fixing logic that searches for a page in inline plugin.
Merge pull request #313 from alexeysergeev/GRAILS-9752

(GRAILS-9752) Fixing logic that searches for a page in inline plugin.