[GAIA BUG997599] - explanation on the 'if' statement