prevBlock some times doesn't exist. Take this into consideration
another case of prevBlock not existing