Added calls for empty and single result functions.