[BUGFIX] Avoid "this page" as candidate when resolving sub template

Fixes: #206