Improved error-handling when else-blocks cannot be determined.