#246 Fix for checking members duplicates in deleted teams
#246 Code style fix