Prevent invite self

Use `&&` instead of `and`.