Portrait table search fix