Avast! is very good against ransom malware and will only get better with the future versions.
We got Filerep and Evo-gen protecting us and even if they are missing a sample and you send them one they release a streaming update really fast.
Backend is getting some improvements this month so we will see a bump in detection which I am already noticing.
In short,Avast is just getting better and better at catching malware binaries.