Fixed compatibility with Nette after nette/nette@481878e0a