Fixes top level page editing bug