Failed load issues type errors

load_values expects `array`, but findOne returns null when nothing is found