Fix serialization caching

Fixed a couple of bugs that were preventing forms with poll sensor data in them from loading on Android 5.0 (Couldn't quite tell why it wasn't crashing 4.0 devices)