Fixing logic error after saving Author