Some companies will need you to maintain older code. This is fine, as long as you can agree on boundaries of maintaining old code, or better yet converting that old code to new code.