Fix bug in movie valid path detection