Fixed the result check in the create method.