Fix for WP showing draft posts on home page