Fixed flag deletion when user is deleted.
Corrected assertions.
Corrected assertions.
Merge pull request #23 from md-systems/fixedFlagDeltionWhenUserIsDeleted

Fixed flag deletion when user is deleted.