Don't blow up if form tag can't be found

This is a small change to prevent ```serialize``` and ```deserialize``` from blowing up if a ```<form>``` can't be found.

I could outline my use case to motivate if you like, but hopefully the added robustness will be sufficient in itself?

Any thoughts?