Fixed filter navigation when pretty permalinks are off.