MDL-45725 core_tablelib: Simplify user preferences code

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>