Fixed doctrine compatibility
Compatibility between stable & dev Nette