Fixed bug which caused the main page ID from not being added to the op.zim file.