Removed stale comment
Removed another comment

this one was just unclear
Removed incorrect check

I believe TPreptimeValue can be null if the value is a parameter
so I'm leaving the returning of the constant in. Of course that
means that it will throw the exception, but the case where I added
it should be gone, so this should be ok, and throwing a NPE seems
better than acting as if parameters are NULL.