fix bug for deleting scaling policies Ref #552