[ALLI-2378] Fixed a sorting/limiting bug that dropped a selected sort/limit option.