Minor change in if condition