Plot hole: When Miles tries to hand the pizza to Carlson, he steals the ID card off him. Carlson would have realised that he had lost the card the next time he came to open a security door and would have reported it as lost. This means that his original card would have been blocked, meaning that Miles wouldn't have been able to use it.
Suggested correction: Unless he didn't report it lost due to the fear of being reprimanded for losing the card.
Miles is a strictly by the book cop. No way he wouldn't report his ID card as lost. The original posting is correct. Correcting an entry by guessing what may have been going through a character's mind only works if it fits the characters usual mindset or attitude, which this correction doesn't.
So without a card how would he be getting through the security doors? Are you saying he would just stand there and wait for someone to swipe their card and just piggyback behind them? And how long is that supposed to last?
No, I'd say the original entry for a plot hole is correct and that the card shouldn't have worked.
Well to be completely honest this whole movie doesn't make sense. Wouldn't it be more rational to try to sneak in the backdoor disguised as a janitor instead of impersonating a detective? Most people would not question a man wearing a janitorial outfit, examining the vents. Yeah its still a risky move but not nearly as risky or time consuming as impersonating a cop. It is hard to believe someone as clever as Miles would not at least consider the idea.