Yes that is correct. If you have a I485 pending you have valid status to remain in the US.