Fixed bug where recur rule was not being saved properly when task was
saved for first time