Bug fix on orders page