fixes bug that is prohibiting program years from being deleted.