Fixes bug opened by my self on Flyspray/flyspray/master #70