Fix pageFromList function.
Tweak disabled function handling.