fixed small issue where the system tried to load a contract when the given contractId (connectionId) was 0