Fixed check for whether you were invited.