slug collision checks for page types

fixes #3049