Fix minor mistake; check on .g and .grid not being descendants of .gi and .grid__item!