Fixed if-check for GA modes