[#1214] fix issue with rediect breaking everything
[#1214] fix issue with rediect breaking everything

leesab/irods,janiheikkinen/irods,janiheikkinen/irods,leesab/irods,janiheikkinen/irods,PaulVanSchayck/irods,leesab/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,leesab/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,leesab/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,leesab/irods,PaulVanSchayck/irods,leesab/irods