MADS: Fix misspelling in if statement