Fixed is_front_page condition