It looks like you didn't fill your I-140 and I-485 in the same time. Your PD have to be eariler than July/2004 to file your I-485 in May. Congrats