fixes #2846 (deleting pages with different sub languages)

fixes #2846