Made django cms 2.4 compatible

Remove duplicate pages in the results - only keep the public pages and remove the draft ones.