Spurious 'else:' leftover from refactor