Little fixes

Don't try and map an empty result set.
Always return a boolean.