Fixed the master selection to update the detail dropdown