Corrects logical error in quote loading.