Missing break in switch-case.

Fixed issue resulting in segfault and sometimes incorrect result set mapping