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