Valve has released a patch for Dota 2 which eliminated the bug with Templar Assassin’s Traps. In addition, the developers have corrected the mechanism of activated skills interacting with the hero's auto attack.
The list of changes:
Fixed a bug that could cause cast-attack spells to malfunction (like Silencer’s Glaives of Wisdom)
Fixed the limit behavior of Templar Assassin’s traps. There was a short period where a triggered trap continued to count against the trap limit.