Fixed stupid bug which could lead to empty PageFragments.