Rules for pension contributions can be confusing