Fixes missing output due to wrong check
Flushes only entries which belongs to the site
Merge pull request #29 from nsendetzky/master

Flushes only entries which belongs to the site and fixes missing output due to wrong check