Fixed issue where ID check in create failed.