Fixes unexpected error in event occurence form save (#240)