Fixed movie name detection to work correctly