Fixed a problem where score_throws-function was not tail recursive