added checks when there are no records
added checks when there are no records

tjcunliffe/hoverfly,tjcunliffe/hoverfly,tjcunliffe/hoverfly,SpectoLabs/hoverfly,SpectoLabs/hoverfly,rusenask/genproxy,tjcunliffe/hoverfly,tjcunliffe/hoverfly,tjcunliffe/hoverfly