Fix for leading to add schedule when a schedule already exists