Hard coded table name

A table name was hard coded. This has been changed to use getTable() to
get the correct name.