Prevent categories form having the same name.

Cleaned comments.