The whole panel tab was not correctly checking for value existence. Need to check for undefined not null.