Bugfix for crash on selecting messages from active folder while search results are being loaded