It wouldn't make any sense whatsoever those marines were there specifically waiting for them, or any pirates from the fishman island, after the vortex and whale rides. I hope rather than that statistical impossibility the Straw-hats simply had their usual luck of running into marines on a mission totally unrelated to them. Although it could be a normal patrol as well.