Added database message results fetching.