Bug fix for post navigation