Fixed issues in  switch view [ Duplicate Student in switch view ]