Handle invalid input to list filter functions safely.
Handle invalid input to list filter functions safely.

Previously list filter functions did not handle invalid input safely.
This adds a check for null or undefined input and returns a default safe
value.

Change-Id: I59ea3be8b3d8413851204046890121bda3a44e04

openstack/stackviz,openstack/stackviz,openstack/stackviz