passIfEmpty should check for a null value as well as an empty ('') value