[HOTFIX] Ignore invalid pages (not existing template)

Maybe we could at least write a warning to the log?