Fix release detection