Fix a backward compatibility issue and a notice when saving with no tags

Not travis is not actually failing, it had a problem with the build which is now fixed but it is not going to update the test results.