Fixed per-page flag not working on lookup, bug 541:resolved