Fix for Zend\Db\TableGateway: Alias for table #6726