Handle Android Cursor joining for Long values