fixed API issue on deleting shifts
Merge pull request #1303 from affektive/1302

fixed API issue on deleting shifts