Fixes #61 NPE in typedQuery select.getValues(). Thanks to vladimirdolzhenko for the code fix