ng: fix query string issue

user might delete each of movie, so the 'length' might be 0.