Selection: Fixed creation of selection if no cache provided
SelectionFactory: Fixed compatibility with current version of nette