fix for checking case sensitivity when saving pages with different casing