Fixes ZF2 previous exception issue. Now shown correctly.