I thought that might be the case so I checked that the start time matches up, everything seemed fine so just to be safe I removed the time mapped precomp and then added it again and set up the time remapping from scratch.
Had no joy with that though so I tried your expression and again I had no joy with that also.
However if I go into the precomp and make that the same length as the comp that contains it, and remove the time remapping from it everything works fine.
I understand that I could use this as a workaround but I have come across this problem & workaround before and I could really do with figuring out exactly what it is I am doing wrong so I can avoid it happening in future.
I can provide screenshots, or even upload the project file if it will help someone to help me figure out what is going wrong.
Thanks for your reply though Dan, it is appreciated.