Fixed compatibility with Nette after nette/nette@7ac95d71 [closes #18]