Revert "storage: check for existing blocks only in mainchain"

This reverts commit dd04c859730d9d0cfc027ee6cb36232df01ebcbb.