Fix for an elif typo Brad discovered