Fix check for iframe so values of 0 are allowed.