Yeah, it happens right before they overlook the Falcon (“You came in that thing?!”) (which is why they’re looking worriedly behind them as the scene starts).
They basically hide their guns to sneak past these two officers. Meanwhile the entire station is on alert so it doesn’t make any sense. Best that it’s gone.
I don’t mind the banter in the OT, but this scene seems like it would’ve been a bit too on the nose for humour.
Although it makes me wonder what Star Wars would look like if it were edited ever so slightly differently.