SONARPLUGINS-3473 Handle "else if" case