Fix for save and redirect when adding a new object