Fix issue 46

https://github.com/lightblue-platform/lightblue-rdbms/issues/46