I thought it might be useful to add my experience of a similar problem when moving from reverse gear to first gear.
My car is a 2003 Ulysse 2.0 JTD with a 5 SP gearbox. On occasion, after reversing from my drive, parking space, etc, I have found the plastic lever, which is pulled up by your fingers to allow reverse gear to be engaged, does not spring back down when the gear lever is moved back into neutral. When this happens, you end up back in reverse when trying to engage first gear.
I removed the gear knob (it seems to be just glued to the end of the gear lever) and lubricated the reverse sliding lever. This cured the problem only for a month or so. I have since discovered that the alignment of the knob affects whether the reverse lever sticks, or not. Provided the lines of the gear diagram on the knob are vertical/horizontal, the reverse lever doesn't stick. If the knob turns slightly anti-clockwise on the end of the gear lever, it sticks. To be honest, it is only a minor irritant, because I now automatically flick the reverse lever down with my fingers as I move the gear lever from reverse to neutral.
I am reluctant to use a stronger adhesive (eg epoxy) to fix my gear knob in position in case I ever have need to remove it for maintenance reasons in future.