prevent PHP notice when no lists are selected