Corrected the fetch of currencies from the db