No, I don't think they will deny your I485 for that because people are allowed to wait for adjustment of status in US.