Fixes issue with boolean custom field