Fixed a serious bug on CheckBlock due to removing the FOUNDATION transaction