Extented Hour orders are getting canceled when market closes or opens

I am using my paper account to run an algorithm. When I place an order during pre-market, it gets canceled right away when market opens and I am having to place the same order again. Same thing happens when market closes. All the extended hour eligible orders get canceled as soon as the market closes. Is this just a paper account thing? Thanks.