no problem if only one is denied. But problem is you don't know which one is approved eventually, or if both approved or denied. I guess you could refile I-485 later based on the approved case.