Check for #390 to prevent application breakage.
Merge pull request #451 from seuros/dgilperez-counter_cache

[Fix] counter_cache, Check for #390 to prevent application breakage.