Fix for checking type on entry metadata field.