Fix 4294

Fix https://github.com/zendframework/zf2/issues/4294#issuecomment-17072513 after a regression caused by https://github.com/zendframework/zf2/pull/4231

ping @weierophinney, @davidwindell, @danizord, @netiul