Fix app locking from team member change