Fix native query prepareValue call