You should be fine. As I know, after your OPT expire, but you have filed the H1 application, you should legally stay. I think this should be applicable to your case. Good luck!