Fixes #2

https://github.com/nette/nette/commit/df2a51a786be0a2bb5c4332352b494bcc5d8d374