Hi Violeta!
it seems that this problem does not affect currently supported versions of Moodle because I wasn't able to reproduce it (so I guess it was fixed). Thus, you are recommended to upgrade your installation in order to take advantage of recent fixes and improvements. See https://docs.moodle.org/en/Upgrading for details.
Cheers!