Changed comparison to get rid of warning