Fix for issue #283

https://github.com/philsturgeon/codeigniter-restserver/issues/283