Detective is misled by shady characters until he figures it out and gets the girl. Someone dies at the end.

2nd go around on this clue.