Re-aligned the boolean operator (and) to avoid seeing it as code block of the elif condition.