fixes #5025 URLMapped pages not working when edit