Your old H4 status would be technically invalidated, if you have re-entered US on F1 visa. Did you show your I-20 and visa at PoE and entered on F1 visa ? You can check with your spouse’s attorney for clarification as well.
Always, what status you entered and maintain is what matters. If you filed anything that is in process and you travel out and re-enter the in-process pending status one gets invalidated