Fix an issue where the IMAP stream isn't reloaded after it's lost.
Fix an issue where the IMAP stream isn't reloaded after it's lost.

If $this->imapStream is lost, it will return 0. These conditionals evalute 0 as a set variable, therefore they don't reload the stream even though they should.

dharyk/Fetch,dharyk/Fetch,RewardGateway/Fetch,deemyboy/Fetch,rbridge/Fetch,Mika56/Fetch,ApexWire/Fetch,ApexWire/Fetch,Mika56/Fetch,rbridge/Fetch,RewardGateway/Fetch,tomsommer/Fetch,deemyboy/Fetch,tomsommer/Fetch