Fixed logic issue in fix.