Fixes http 500 Error

Per Issues 352 (https://github.com/eddiemachado/bones/issues/352) this fixed it for me.
Merge pull request #362 from MicrobrewMedia/patch-1

Fixes http 500 Error