check to see if column name is set before returning it in payment history table

Signed-off-by: Benjamin Rojas <benjamin@reality66.com>
Merge pull request #781 from benjaminprojas/master

Check if column name isset before returning in payments history page