Bugfix for saving new items (See #206)