Small fix with the extensions logic.