Bug fix: corrected the condition, removing the previous negation