If your casserole is runny, it's likely that your beans were not properly dried. Be sure to pat them well with towels to dry as much as possible after blanching.