Changed challenge.deficit to return 0 if it was negative