Tidying up
fixing bug with loader showing when there are zero results