Fixes http 500 Error

Per Issues 352 (https://github.com/eddiemachado/bones/issues/352) this fixed it for me.