Fixed hiding sort when total is not exists.