Fixed admin toolbar to make it aware of page types.