Fixes issue with empty name when creating the first page