sendMediaToItem wrong if condition fixed