Added missing part of condition