Since we are checking with strict equality (type & value) we need to be sure the type is set correctly.