REF numpy >1.9 compatibility, indexing into empty slice closes #1754
Merge pull request #1771 from josef-pkt/REF_indexing_empty_1754

REF numpy >1.9 compatibility, indexing into empty slice closes #1754