Fixes typo in elsif