Prilosec/Omeprazole

Good afternoon! Neurotic and impatient dog mom here haha! Question to the community while I wait on Jager’s vet to call me back.

Prior to surgery our vet had advised giving Jager 40 mg of Prilosec twice a day (started Feb 19 through March 2) to help his stomach while taking Prednisone. Initially we were giving him this in the form of hard tablets. In his first poop post surgery (March 5) I happened to notice a full, intact/undissolved tablet. I didn’t think too much of it at the time and we had actually switched to capsules post surgery just by chance based on pharmacy had in stock. However, his last hard tablets of Prilosec was on March 2 and today he actually had diarrhea and 3 more completely whole Prilosec tablets came out with it. Obviously, this doesn’t seem right to me so I called the vet and they are going to have the doctor call me back but wondering if anyone else every experienced anything like that and if I should be as concerned as I am….just in that first if it is intact I would assume he wasn’t getting the positive effects intended and second why it would take so long for his body to start expelling them after ingesting.