Fix: "Undefined index: bandwidth"

Some media items don't have a value for 'bandwidth', causing "Undefined index:
bandwidth" logspam. So check that the key exists before comparing, and return 0
as a final fallback.

Change-Id: I6c46f94aa0078b6a9c4f8c254165e7ccc7d58602