Fixed problem with latest version of ZF2