fix bug with post slugs and empty hits resulting in all posts being returned