allow a null page in pages array, to compensate for ZF issue #3823