Fix controller presence check.