fixes page sorting on creation issue #685