On the analogue of Corner's finite rank theorem for modules over valuation domains