Hello Damian, thank you very much for your reply. The problem was happening because of server caching, after making a million tests I discovered that was the reason. There was nothing wrong with the plugin. Hope this helps some other people running through similar problems. Thanks!