Any provision in a rent-to-own agreement which is prohibited by sections 42-240 to 42-253, inclusive, shall be void, but shall not otherwise affect the validity of the rent-to-own agreement.