Mojang added this in 1.4.5 (I think), it makes it so after you trade a certain number of the same trade with a villager, it will no longer offer that deal to prevent abuse. Hope this Helps :D