Changes booleans to no longer return false, if they are in fact null

I stumbled upon this issue, when I tried inserting null or undefined values and for some reason, they would always return a false value. The insertion to the table was correct, but when it fetched NULL-values from the database, it would convert them to false, which is weird behavior. This fixes that behavior.