bug fix related to extra parameter being passed to stored proc for clearing processed records