Changed some instances of empty-cat-result to nil