Fix bug in movie lookup code