Fix the create identity message checking