MYFACES-2542 Don't throw exception if no SelectItems found (Thanks to Martin Koci for the patch, however applied with many alterations)