Number of pages was wrongly set in the database

Change-Id: I82390599a3ce7e52e7471623e4d5250da2c67110