Handling default values when dependent on another field