Fix select all orders bug