Wrong parent_id, sort_order returned for category

https://github.com/opencart/opencart/commit/80841d0e2580037f039f542eb76a6a5858d4536b