Fix for multiple db entries being created when calling $this->save() within an after_create callback method

Patch for #266