Fix bug where long values didn't return anything