Fixed a bug in creating new advisor records