Fix: Trying to get property of non-object [#325](https://github.com/bolt...

Fix: Trying to get property of non-object [#325](https://github.com/bolt/bolt/issues/325)