BugFix: wrong equality comparision