Other mistake: Danny says "14 years ago today I kissed Linda" but in previous episodes they were celebrating their 16th anniversary.
Other mistake: Throughout the episode, all the interactions with the characters went from day to night except for Commissioner Reagan chaperoning his grandson's class at the museum. It stayed daylight the whole time at the museum. (00:27:14)
Answer: It's a common cop show plot device. If the police on the show always acted in the most logical way (i.e. not alerting a suspect to their presence) the show wouldn't have the opportunity for an exciting foot chase.