Merge pull request #5849 from jreback/dup_selection

BUG: Bug in selection with missing values via .ix from a duplicate indexed DataFrame failing
BUG: fix issue of boolean comparison on empty DataFrames (GH5808)