Fix some ICQ protocol checks that were inverted