Enhance duplicated title validation on categories