Applies patch to support conditional fields