it was clearly illegal, but refs usually let those go at that point of the game
personally I think fouls should be called the same at any point of the game due to situations like this. it's frustrating and unfair when refs officiate inconsistently. either be lenient, or be strict, and stick by it. I prefer leniency.