- fixes https://github.com/shaarli/Shaarli/issues/1910 - fixes https://github.com/shaarli/Shaarli/issues/1854